﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FusionDotNet
{
    /// <summary>
    /// Specifies the type of account being used for Authentication.
    /// </summary>
    public enum AccountTypeEnum
    {
        /// <summary>
        /// Google Account
        /// </summary>
        Google
    }

    /// <summary>
    /// Set of Where operations for use in the Select Command Bulder.
    /// </summary>
    public enum WhereOperators
    {
        /// <summary>
        /// Equals
        /// </summary>
        Equals,
        /// <summary>
        /// Intersects
        /// </summary>
        Intersects
    }

    /// <summary>
    /// Determines how the Intersects WhereOperator is processed.
    /// </summary>
    public enum IntersectsMode
    {
        /// <summary>
        /// The Intersects operator is processed based on a Circle around the provided point.
        /// </summary>
        Circle
    }

    /// <summary>
    /// Constants
    /// </summary>
    public class Constants
    {
        /// <summary>
        /// POST Web Verb
        /// </summary>
        public const string WEB_METHOD_POST = "POST";

        /// <summary>
        /// PUT Web Vern
        /// </summary>
        public const string WEB_METHOD_PUT = "PUT";

        /// <summary>
        /// HTTP OK Status
        /// </summary>
        public const string STATUS_OK = "OK";

        /// <summary>
        /// HTTP Content Type for Application Url Encoded
        /// </summary>
        public const string CONTENT_TYPE_APPLICATION_URLENCODED = "application/x-www-form-urlencoded";

        /// <summary>
        /// The column name to use for the Fusion row identifier
        /// </summary>
        public const string FUSION_ROWID = "rowid";

        /// <summary>
        /// The column name to use for the Fusion table identifier
        /// </summary>
        public const string FUSION_TABLEID = "tableid";
    }
}
